﻿using System;
using System.Collections.Generic;
using System.Text;
using Hkwl.WorldExpo.Merchant.Model;
using System.Collections;

namespace Hkwl.WorldExpo.Merchant.DataAccess
{
    public interface ILogDao
    {
        #region NxBookLog 对象

        NxBookLog GetNxBookLogById(int bookLogId);

        #endregion

        #region NxQueryLog 对象

        NxQueryLog GetNxQueryLogById(int queryId);

        #endregion

        #region NxSendLog 对象

        NxSendLog GetNxSendLogById(int sendId);

        int GetSendNumByProjectId(int projectId);

        int GetSendNumByClientId(int projectId, int clientId);

        int GetUseNumByProjectId(int projectId);

        int GetUseNumByClientId(int projectId, int clientId);

        IList<IList> GetNxSendNumCollection(int projectId, int pageIndex, int pageSize, ref int count);

        IList<IList> GetNxUseNumCollection(int projectId, int pageIndex, int pageSize, ref int count);

        IList<IList> GetClientReporting(int merchantId, int pageIndex, int pageSize, ref int count);

        IList<IList> GetProjectReporting(int merchantId, int pageIndex, int pageSize, ref int count);

        IList<NxSendLog> GetSendLogCollection(int merchantId, int clientId, int sendFlag, int useFlag, int pageIndex, int pageSize, ref int count);


        #endregion
    }
}
